package com.example.epic.service.impl;

import com.example.epic.bean.InAndOutRecord;
import com.example.epic.dao.InAndOutRecordDao;
import com.example.epic.service.InAndOutRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class InAndOutRecordServiceImpl implements InAndOutRecordService {

    @Autowired
    InAndOutRecordDao inAndOutRecordDao;

    @Override
    public void savaInAndOutRecord(InAndOutRecord inAndOutRecord) {
        inAndOutRecordDao.savaInAndOutRecord(inAndOutRecord);
    }
}
